@echo off
rem ***********************************************************************************
rem *** REPLACE THE 'c:\python27' part with the location where your                ***
rem *** Python is located (or leave if you installed 2.7 with the default settings  ***
rem ***********************************************************************************

SET PYTHONPATH=c:\python27

echo -
echo "ASSIGNMENT 3A - UCS"
echo -
%PYTHONPATH%\python.exe pacman.py -l mediumMaze -p SearchAgent -a fn=ucs
%PYTHONPATH%\python.exe pacman.py -l mediumDottedMaze -p SearchAgent -p StayEastSearchAgent
%PYTHONPATH%\python.exe pacman.py -l mediumScaryMaze -p SearchAgent -p StayWestSearchAgent

echo -
echo "ASSIGNMENT 3B - ASTAR"
echo -
%PYTHONPATH%\python.exe pacman.py -l bigMaze -z .5 -p SearchAgent -a fn=astar,heuristic=manhattanHeuristic
%PYTHONPATH%\python.exe pacman.py -l openMaze -z .5 -p SearchAgent -a fn=astar,heuristic=manhattanHeuristic
%PYTHONPATH%\python.exe pacman.py -l openMaze -z .5 -p SearchAgent -a fn=astar

echo -
echo "ASSIGNMENT 3C - CORNER SEARCH PROBLEM"
echo -
%PYTHONPATH%\python.exe pacman.py -l tinycorners -z .5 -p SearchAgent -a fn=bfs,prob=CornersProblem
%PYTHONPATH%\python.exe pacman.py -l mediumcorners -z .5 -p SearchAgent -a fn=bfs,prob=CornersProblem

echo -
echo "ASSIGNMENT 3D - CORNER SEARCH HEURISTIC"
echo -
%PYTHONPATH%\python.exe pacman.py -l mediumcorners -z .5 -p AStarCornersAgent

pause
